<%--
  Created by IntelliJ IDEA.
  User: 董胜涛
  Date: 2022/3/1
  Time: 19:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/update.do">
  <input type="hidden"  name="id" value="${requestScope.student.id}"/>
  姓名  <input type="text" name="name" value="${requestScope.student.name}"/>
    年龄<input type="text" name="age"  value="${requestScope.student.age}"/>
    性别<input type="text" name="gender"  value="${requestScope.student.gender}"/>
    电话<input type="text" name="tel"  value="${requestScope.student.tel}"/>
    <input type="submit" value="添加"/>
</form>
</body>
</html>
